-
Notifications
You must be signed in to change notification settings - Fork 713
Take working directory into account in preprocessor hs-boot hack #10991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
I added a test and changelog entry. This is now ready for review. |
This pull request has been removed from the queue for the following reason: The pull request can't be updated. You should update or rebase your pull request manually. If you do, this pull request will automatically be requeued once the queue conditions match again. |
This commit fixes an oversight in runPreProcessorWithHsBootHack, which did not correctly take into account the working directory. This could lead to situations in which we failed to apply the hack. Recall that this hack is for situations when one has both an hs-boot file and a file in need of preprocessing, such as: Foo.y Foo.hs-boot or Bar.hsc Bar.hs-boot Failing to apply the hack essentially meant that GHC would not be able to see the hs-boot file, which caused build failures.
284c8d5
to
ccb868e
Compare
This pull request has been removed from the queue for the following reason: The pull request can't be updated. You should update or rebase your pull request manually. If you do, this pull request will automatically be requeued once the queue conditions match again. |
This commit fixes an oversight in
runPreProcessorWithHsBootHack
, which did not correctly take into account the working directory. This could lead to situations in which we failed to apply the hack.Recall that this hack is for situations when one has both an
hs-boot
file and a file in need of preprocessing, such as:or
Failing to apply the hack essentially meant that GHC would not be able to see the
hs-boot
file, which caused build failures.Template Α: This PR modifies behaviour or interface
Include the following checklist in your PR: